//
//  UIColor+MYK.h
//  ZFGT
//
//  Created by apple on 2018/5/16.
//  Copyright © 2018年 allyoubank.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (MYK)


+ (UIColor *) colorWithHexString: (NSString *) stringToConvert;

+ (UIColor*) colorWithHexString:(NSString *)stringToConvert alpha:(CGFloat)alpha;

//渐变
+ (UIColor*)gradientFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withHeight:(int)height;
+ (UIColor*)gradientFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withWidth:(int)width;

@end
